﻿using D.Application.Contracts;

namespace D.Application.Command.Abstractions.Messages
{
    public interface IQueryHandler<in TQuery, TResponse> where TQuery : IQuery<TResponse>
    {
        Task<Result<TResponse>> Handl(TQuery query, CancellationToken cancellationToken);
    }
}
